
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    checkRemarkText: "",
    themeStyle: "",
    showSharePop: false,
    isLogin: false,
    keyBoardHeight: 0,
    showEmptySharePop: false,//没有共享组的情况，创建共享组
    swiperAutoplay: false,
    swiperInterval: 2000,
    swiperDuration: 500,
    singleFormatShowText: "暂无",//单独的户型显示字段
    currentSwiperIndex: 0,//当前swiper下标
    isShowCommentPop: false,//评论弹窗
    //地图key -- 地图相关
    mapSubkey: MAP_KEY,
    latitude: 30.690885,
    longitude: 104.078367,
    enable3d: false,
    showCompass: false,
    enableOverlooking: false,
    enableZoom: false,
    enableScroll: false,
    enableRotate: false,
    drawPolygon: false,
    enableSatellite: false,
    enableTraffic: false,
    markers: [{
      id: 0,
      iconPath: "../../../img/dingwei.png",
      latitude: 30.690885,
      longitude: 104.078367,
      width: 24,
      height: 24,
      callout: {

      }
    }],
    tempCommissionList: [
      { type: 1 }, { type: 1 }
    ],
    nearestSubWayText: "",//最近地铁信息
    showRulePopup: false,
    showPopupTitle: "推荐规则",
    showRuleContent: "",
    scanExpert: {},//是否有扫描的经纪人
    scrollRefreshStatus: true,
    changePriceTitle: "变价提醒",
    changeOpenTimeTitle: "售卖提醒",
    //吸顶参数
    scrollTop: 0,
    offsetTop: 0,
    toView: "",
    //吸顶参数
    //顶部信息骨架屏配置
    topRowWidths: [
      "60%", "100%"
    ],

    topBanners: [

    ],
    tempTags: [
      {
        title: "未开盘",
        status: 1,
      },
      {
        title: "低单价",
        status: 0,
      },
      {
        title: "低总价",
        status: 0,
      },
      {
        title: "多轨交汇",
        status: 0,
      },
      {
        title: "环线房",
        status: 0,
      },
    ],
    examineStatus: 0,
    ratingValue: 4,//评论评星
    loadingStatus: false,//数据加载状态
    horizontalModules: [
      { title: "户型", isShow: true }, { title: "资料", isShow: true }, { title: "佣金", isShow: true }, { title: "配套", isShow: true },
      { title: "总平", isShow: true }, { title: "专家", isShow: true }, { title: "动态", isShow: true }, { title: "评论", isShow: true },
    ],
    horizontalSwiperIndex: 100,//默认户型
    houseTypeChangeArr: [

    ],//户型切换数组
    houseTypeList: [

    ],
    houseTypeChangeIndex: 0,//户型默认第一个

    attachFiles: [],//项目资料
    settingRoleRelation: [],//佣金列表
    commentList: [

    ],
    //动态列表
    houseDynamicList: [

    ],
    expertArr: [

    ],
    tempHouseTimeAxiss: [
      { type: 1, status: 0 }, { type: 1, status: 1 }, { type: 1, status: 0 }, { type: 1, status: 0 }
    ],

    houseNumber: null,//房源编号
    houseDetail: {},//新房详情
    formats: [],//户型数组
    //创建评论参数
    createCommentData: {
      content: "",
      images: [],
      houseNumber: "",
      parentId: "",
      grandId: "",
    },
    //评论的点击数据，评论成功后，直接强更，不去这个拉取列表
    commentData: {},
    commentType: "main",//main是代表一级评论，sub是代表二级带回复的评论
    //一级评论的index:
    oneLevelIndex: 0,
    currentSearchTitle: "公交",
    currentBottomIndex: 0,
    mapSearchList: [],
    changeTypeList: [
      {
        title: "公交",
        icon: "./../../../img/mapgongjiao.png"
      },
      {
        title: "学校",
        icon: "./../../../img/mapxuexiao.png"
      },
      {
        title: "餐饮",
        icon: "./../../../img/mapcanyin.png"
      },
      {
        title: "购物",
        icon: "./../../../img/mapgouwu.png"
      },
      {
        title: "医院",
        icon: "./../../../img/mapyiyuan.png"
      }
    ],
    enterModles: [
      {
        title: "全部户型",
        path: "../../img/houseDetail/dquanbhx_icon.png",
        url: "../houseAllHouseTypes/houseAllHouseTypes",
      },
      {
        title: "楼盘动态",
        path: "../../img/houseDetail/dloupandt_icon.png",
        url: "../houseAllDyn/houseAllDyn",
      },
      {
        title: "楼盘详情",
        path: "../../img/houseDetail/dloupanxiangq_icon.png",
        url: "../houseMoreInfo/houseMoreInfo",
      },
      {
        title: "楼盘图片",
        path: "../../img/houseDetail/dloupantp_icon.png",
        url: "../houseAllImgs/houseAllImgs",
      },
      {
        title: "周边配套",
        path: "../../img/houseDetail/dzhoubpeitao_icon.png",
        url: "../houseMapAround/houseMapAround",
      },

    ],
    // 共享相关参数
    newShareName: "",//新建共享组名称
    shareList: [

    ],
    showExpertPop: false,//咨询置业顾问弹窗
    bindUserId: "",//绑定关系的userId,
    isScanEnter: false,//是否是扫码进来的
    isShare: false,//是否分享进来的
    roleType: 1,//角色等级
    zhuChangeArr: [],
    videoArr: [],//房源视频arr;
    allTopImgArr: [],//房源所有图片arr
    houseTypeIndex: 0,
    scrollTopValue: 0,//到顶部距离
    bindHouse: 0,//是否是绑定房源进来的
    selectCompanyNumber: "",//选中的代理公司
    residentArr: [],//驻场arr
    cityName: "",
    sameHouseList: [
      { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 }
    ],
    communityNumber: "",//小区number
    communityDetail: null,
    checkSuccessIcon: CHECK_SUCCESS,
    checkFailIcon: CHECK_FAIL,
    checkProgressIcon: CHECK_PROGRESS,
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
   

   





  },




  







})